package com.hzdh.account.service;

import java.util.List;
import java.util.Map;

import com.github.pagehelper.PageInfo;
import com.hzdh.account.entity.express.ToExpressCompany;
import com.hzdh.account.entity.pay.ToDayBook;
import com.hzdh.account.request.account.ToDayBookRequest;
import com.hzdh.account.response.account.ToDayBookResponse;
import com.hzdh.account.response.account.list.ToAccountListResponse;

public interface AccountService {

	List<ToDayBookResponse> getToDayBook();
	
	/**
	 * 查询快递公司信息列表
	 * @return
	 */
	List<ToExpressCompany> getToExpressCompany();

	/**
	 * 保存当日流水数据信息
	 * @param toDayBookRequest
	 */
	void saveToDayBookInfo(ToDayBookRequest toDayBookRequest);
	
	/**
	 * 保存快递公司信息
	 * @param expressCompany
	 */
	void saveExpressCompanyInfo(String expressCompany);

	/**
	 * 获取支出分页数据信息
	 * @param paramMap
	 * @return
	 */
	PageInfo<ToDayBook> getToDayBookPage(Map<String, String> paramMap);
	
	/**
	 * 获取流水列表分页信息
	 * @param paramMap
	 * @return
	 */
	PageInfo<ToAccountListResponse> getAccountListPage(Map<String, String> paramMap);

	/**
	 * 根据ID获取支出信息
	 * @param pkid
	 * @return
	 */
	ToDayBookResponse getToDayBookById(Long pkid);

	/**
	 * 根据编号获取支出信息
	 * @param payCode
	 * @return
	 */
	List<ToDayBookResponse> getToDayBookByPayCode(String payCode);

	
}
